package learning.day07.demo02;
import java.util.Random;

public class demo02 {
    public static void main(String[] args) {
        Random r=new Random();

        int num=r.nextInt(1);//左闭右开区间
        System.out.println(num);
    }
}
